#pragma once

LRESULT SessionSendMessage(
	__in DWORD pid,
	__in UINT uMsg,
	__in WPARAM wParam = 0,
	__in LPARAM lParam = 0);
BOOL SessionPostMessage(
	__in DWORD pid,
	__in UINT uMsg,
	__in WPARAM wParam = 0,
	__in LPARAM lParam = 0);
HWND SessionFindWindow(
	__in DWORD pid);
BOOL GetPidByProcessName(LPCTSTR pProcess, DWORD*dwPid, BOOL bSkipCur = TRUE);